package com.patsnap.data.npd.dw.etl.job.ods.dispatcher;

import com.alibaba.fastjson.JSONObject;
import com.patsnap.one.etl.cdc.CdcRecord;

/**
 * Launcher for CDC streaming without native storage
 */
public interface CdcLaunchProcessor extends LaunchProcessor {
    /**
     * Launch processor
     */
    void launchWithJsonRecord(String op, JSONObject o);

    /**
     * Default launch entry
     */
    default void launchWithCdcRecord(CdcRecord cdcRecord) {

    }
}
